package org.apache.ibatis.common.logging.nologging;

import org.apache.ibatis.common.logging.Log;

/**
 * @Name NoLoggingImpl
 * @Description: [不打印日志] 实现类
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-05-15 15:13:44
 **/
public class NoLoggingImpl implements Log {
    @Override
    public boolean isDebugEnabled() {
        return false;
    }

    @Override
    public boolean isTraceEnbaled() {
        return false;
    }

    @Override
    public void error(String msg, Throwable e) {
        // Do Nothing
    }

    @Override
    public void error(String msg) {
        // Do Nothing
    }

    @Override
    public void warn(String msg) {
        // Do Nothing
    }

    @Override
    public void debug(String msg) {
        // Do Nothing
    }

    @Override
    public void trace(String msg) {
        // Do Nothing
    }

}

